[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                            FloodFill procedure

  DECLARATION:  FillFlood(X, Y : Integer; Border : Word)

      PURPOSE:  Fills a bounded region with the current fill pattern.

         UNIT:  The DOS unit

      REMARKS:  This fills an enclosed region on bitmap devices.  (X,Y)
                is a seed within the enclosed area to be filled.  The area
                will be flooded with the current fill pattern as set by
                SetFillStyle or SetFillPattern.  Be sure the seed point
                is within the enclosed area or the outside will be filled.

                NOTES:  If an error occurs, GraphResult will return a
                        value of -7 (grNoFloodMem).

                        FloodFill stops after 2 blank lines have been
                        output.  This can occur with a sparse fill pattern
                        and a small polygon.

                        Use FillPoly instead whenever possible to remain
                        compatible with future versions.

 RESTRICTIONS:  Not available when using the IBM-8514 graphics driver

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson